//
//  detOutTranTableViewCell.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/8.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit
// MARK: - 未成交明细
class detOutTranViewCell: UITableViewCell {
    
    @IBOutlet weak var gdh: UILabel!
    
    @IBOutlet weak var spdm: UILabel!
    
    @IBOutlet weak var spmc: UILabel!
    
    @IBOutlet weak var mmfx: UILabel!
    
    @IBOutlet weak var gdjg: UILabel!
    
    @IBOutlet weak var gdsl: UILabel!
    
    @IBOutlet weak var wcjsl: UILabel!
    
    @IBOutlet weak var zt: UILabel!
    
    @IBOutlet weak var gdsj: UILabel!
    
   // @IBOutlet weak var cdsj: UILabel!
    
  //  @IBOutlet weak var cd: UIButton!
    
    
    
    
    
    
    // MARK: - 自定义属性
    var ViewModel : detOutTran? {
        
        
        
        // 属性监听器
        didSet {
            
            // 1. nil值校验
            guard let ViewModel = ViewModel else {
                return
            }
            spdm.text = ViewModel.COI
            spmc.text = ViewModel.CON
            gdh.text = ViewModel.ON
            mmfx.text = ViewModel.BS
            gdjg.text = ViewModel.OP
            gdsl.text = ViewModel.OQ
            wcjsl.text = ViewModel.BAL
            zt.text = ViewModel.OS
            gdsj.text = ViewModel.OT
       //     cdsj.text = ViewModel.WDT
            
           
           
        }
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
